package com.travel.common.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Route {
    private Integer id;
    
    private String name;

    private Integer discountsId;

    private Integer relationUserId;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date applyTime;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date stopTime;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date departTime;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date returnTime;

   
    private Integer createUserId;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createTime;

    private Integer alertUserId;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date alertTime;

    private String introduce;

    private String relationUserName;

    private String relationUserTel;
    public Integer getId() {

        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getDiscountsId() {
        return discountsId;
    }

    public void setDiscountsId(Integer discountsId) {
        this.discountsId = discountsId;
    }

    public Integer getRelationUserId() {
        return relationUserId;
    }

    public void setRelationUserId(Integer relationUserId) {
        this.relationUserId = relationUserId;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Date getStopTime() {
        return stopTime;
    }

    public void setStopTime(Date stopTime) {
        this.stopTime = stopTime;
    }

    public Date getDepartTime() {
        return departTime;
    }

    public void setDepartTime(Date departTime) {
        this.departTime = departTime;
    }

    public Date getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Date returnTime) {
        this.returnTime = returnTime;
    }


	
    
    

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getAlertUserId() {
        return alertUserId;
    }

    public void setAlertUserId(Integer alertUserId) {
        this.alertUserId = alertUserId;
    }

    public Date getAlertTime() {
        return alertTime;
    }

    public void setAlertTime(Date alertTime) {
        this.alertTime = alertTime;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce == null ? null : introduce.trim();
    }

    public String getRelationUserName() {
        return relationUserName;
    }

    public void setRelationUserName(String relationUserName) {
        this.relationUserName = relationUserName == null ? null : relationUserName.trim();
    }

    public String getRelationUserTel() {
        return relationUserTel;
    }

    public void setRelationUserTel(String relationUserTel) {
        this.relationUserTel = relationUserTel == null ? null : relationUserTel.trim();
    }

	@Override
	public String toString() {
		return "Route [id=" + id + ", name=" + name + ", discountsId=" + discountsId + ", relationUserId="
				+ relationUserId + ", applyTime=" + applyTime + ", stopTime=" + stopTime + ", departTime=" + departTime
				+ ", returnTime=" + returnTime + ", createUserId=" + createUserId + ", createTime=" + createTime
				+ ", alertUserId=" + alertUserId + ", alertTime=" + alertTime + ", introduce=" + introduce
				+ ", relationUserName=" + relationUserName + ", relationUserTel=" + relationUserTel + "]";
	}
    
    
    
}